const express = require('express')
const MailRouter = express.Router()
const MailController = require('../controllers/MailController')

// 监听发送邮件的请求
MailRouter.post('/api/mail/send', MailController.sendmail)
MailRouter.post('/api/mail/submit', MailController.submitmail)

module.exports = MailRouter
